home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.trivia / alt.sys.amiga.demos_2033_000000.msg < prev    next >
Encoding:
Internet Message Format  |  1994-11-27  |  3.3 KB

  1. Path: etek.chalmers.se!chalmers.se!sunic!mcsun!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!biosci!agate!ames!data.nas.nasa.gov!taligent!apple!ntg!ewhac
  2. From: ewhac@ntg.com (Leo 'Bols Ewhac' Schwab)
  3. Newsgroups: alt.sys.amiga.demos
  4. Subject: Re: Writing a StarField. Which method is best?
  5. Message-ID: <1992Nov23.235000.14010@ntg.com>
  6. Date: 23 Nov 92 23:50:00 GMT
  7. References: <1992Nov11.131803.1276@ifi.uio.no> <1992Nov17.211753.11335@ntg.com> <1992Nov18.115111.8537@ifi.uio.no>
  8. Organization: Politically Incorrect Software, Ltd.
  9. Lines: 52
  10.  
  11. In article <1992Nov18.115111.8537@ifi.uio.no> larshaug@ifi.uio.no (Lars Haugseth) writes:
  12. >In article <1992Nov17.211753.11335@ntg.com>, ewhac@ntg.com (Leo 'Bols Ewhac' Schwab) writes:
  13. >>>START    move.l    4.w,a6
  14. >>>    move.l    156(a6),a1
  15. >>         ^^^
  16. >>     Okay.  Why isn't this a symbolic offset?  That is, why didn't you
  17. >> say:
  18. >>
  19. >>     move.l    IntVects+6*IV_SIZE+IV_DATA(a6),a1
  20. >
  21. >Because demo-coders usually use a floppy-based system when writing
  22. >programs, so it's a pain in the ass to use includes. Especially in
  23. >routines like this where the includes are used in perhaps 10 lines
  24. >of the source. I *don't* do like this when doing more "serious" stuff.
  25. >
  26.     Just a small historical note:  "Disney Presents: The Animation
  27. Studio" was, for the first two years of its life, written on an A1000 with
  28. 512K chip, 2M fast, two floppies, a flakey 68020 card (no 32-bit RAM), and
  29. VD0: (ASDG's recoverable RAM disk).  It was compiled with Manx 3.4b and all
  30. the sources, includes and C: commands were held in RAM.  The thing finally
  31. grew too big to fit in VD0:, and I graduated to a hard disk (my, that was
  32. nice).
  33.  
  34.     I don't know what the typical demo coder's environment is, but I
  35. can't imagine it being any worse than Lattice v1.0 on a 512K system (yes, I
  36. lived with this; it was worse than you can possibly imagine).
  37.  
  38. >But would I manage that many stars if I should use the system-routines
  39. >for everything? The whole point of my routine is to make it as
  40. >fast as possible.
  41. >
  42.     For setting up the displays, you would need to call the dead-slow
  43. system routines only once to build the display.  You would then call
  44. LoadView() to bring displays to the front; LoadView() is an *extremely*
  45. inexpensive routine.  If you prefer not to use LoadView(), you can just jam
  46. COP1LC with the copperlist the system built.
  47.  
  48.     And by the way, with the advent of AGA and v3.0, you *no longer
  49. know* how to build correct copperlists, since they now can be *monitor-
  50. specific*.  The task of computing and assembling copper lists has been
  51. largely removed from graphics.library and placed loadable code modules in
  52. the v3.0 Monitors drawer.  (At least, this is how it was explained to me.)
  53.  
  54.     So it behooves you to use the system routines where possible.  I
  55. mean, wouldn't it be cool to have your demo automatically show up on an
  56. A4000 on a crisp multiscan monitor in scandoubled 60 Hz?
  57.  
  58. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  59. Leo L. Schwab -- The Guy in The Cape                    ewhac@ntg.com
  60.  \_ -_          Recumbent Bikes:                ..or..  ewhac@well.sf.ca.us
  61. O----^o       The Only Way To Fly.                     (pronounced "EH-wack")
  62.          "Because you never know who might want to sit in your lap."